
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
			}
			.fl{
				float: left;
			}
			.clear{
				clear: both;
			}
			.container{
				width: 730px;
				margin: 0 auto;
			}
			body{
				background-color: rgb(0,102,102);
			}
			.pic-box img{
				width: 200px;
				height: 200px;
			}
			.pic-box ul{
				/* 去掉ul中小圆点 */
				list-style-type: none;
				border: 2px solid red;
			}
			.pic-box ul li{
				/* 作为绝对定位的目标 */
				position: relative;
				border: 1px solid red;
				margin: 10px;
				padding: 10px;
				background-color: rgb(204,204,204);
			}
			.pic-box ul li:hover{
				position: relative;
				left: 2px;
				top: -2px;
			}
			.pic-box p{
				position: absolute;
				bottom: 40px;
				/* 文字水平居中 */
				text-align: center;
				color: white;
			}
			.jump-top{
				width: 100px;
				height: 30px;
				border: 1px solid red;
				
				position: fixed;
				right: 20px;
				bottom: 20px;
			}
		</style>
	</head>
	<body>
		<!-- 这块区域干什么 -->
		<div class="pic-box">
			<div class="container">
				<ul>
					<li class="fl">
						<img src="img/01.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/02.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/03.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/04.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/05.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/06.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/01.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/03.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/03.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/03.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/03.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/03.jpg" />
						<p>Java编程思想</p>
					</li>
					<li  class="fl">
						<img src="img/03.jpg" />
						<p>Java编程思想</p>
					</li>
					
					<div class="clear"></div>
				</ul>
			</div>
		</div>
		<div class="jump-top">
			<a href="#">回到顶部</a>
		</div>
	</body>
</html>
